package com.victor.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.victor.entity.HotTag;

@Mapper
public interface HotTagDao {
    int batchDelete(@Param("ids")int[] ids);

    int insert(HotTag record);

    HotTag findById(Integer tId);

    int update(HotTag record);

	HotTag findByContext(@Param("tContext")String tContext,@Param("tType")String tType);

	int addClick(Integer tId);

	List<HotTag> findByType(@Param("tType")String tType);
}